
hex0.bin:     file format elf64-x86-64


Disassembly of section .data:

0000000000600078 <_start>:
  600078:	e8 b3 00 00 00       	callq  600130 <getchar>
  60007d:	48 83 f8 ff          	cmp    $0xffffffffffffffff,%rax
  600081:	74 47                	je     6000ca <_start.done>
  600083:	48 83 f8 20          	cmp    $0x20,%rax
  600087:	74 ef                	je     600078 <_start>
  600089:	48 83 f8 09          	cmp    $0x9,%rax
  60008d:	74 e9                	je     600078 <_start>
  60008f:	48 83 f8 0a          	cmp    $0xa,%rax
  600093:	74 e3                	je     600078 <_start>
  600095:	48 83 f8 23          	cmp    $0x23,%rax
  600099:	74 3f                	je     6000da <skip_comment>
  60009b:	e8 4d 00 00 00       	callq  6000ed <hex_digit>
  6000a0:	48 c1 e0 04          	shl    $0x4,%rax
  6000a4:	48 89 05 ec 00 00 00 	mov    %rax,0xec(%rip)        # 600197 <oct>
  6000ab:	e8 80 00 00 00       	callq  600130 <getchar>
  6000b0:	e8 38 00 00 00       	callq  6000ed <hex_digit>
  6000b5:	48 09 05 db 00 00 00 	or     %rax,0xdb(%rip)        # 600197 <oct>
  6000bc:	48 8b 05 d4 00 00 00 	mov    0xd4(%rip),%rax        # 600197 <oct>
  6000c3:	e8 a2 00 00 00       	callq  60016a <putchar>
  6000c8:	eb ae                	jmp    600078 <_start>

00000000006000ca <_start.done>:
  6000ca:	48 c7 c0 3c 00 00 00 	mov    $0x3c,%rax
  6000d1:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi
  6000d8:	0f 05                	syscall 

00000000006000da <skip_comment>:
  6000da:	e8 51 00 00 00       	callq  600130 <getchar>
  6000df:	48 83 f8 ff          	cmp    $0xffffffffffffffff,%rax
  6000e3:	74 3b                	je     600120 <die>
  6000e5:	48 83 f8 0a          	cmp    $0xa,%rax
  6000e9:	74 8d                	je     600078 <_start>
  6000eb:	eb ed                	jmp    6000da <skip_comment>

00000000006000ed <hex_digit>:
  6000ed:	48 83 f8 30          	cmp    $0x30,%rax
  6000f1:	7c 0b                	jl     6000fe <hex_digit.next1>
  6000f3:	48 83 f8 39          	cmp    $0x39,%rax
  6000f7:	7f 05                	jg     6000fe <hex_digit.next1>
  6000f9:	48 83 e8 30          	sub    $0x30,%rax
  6000fd:	c3                   	retq   

00000000006000fe <hex_digit.next1>:
  6000fe:	48 83 f8 61          	cmp    $0x61,%rax
  600102:	7c 0b                	jl     60010f <hex_digit.next2>
  600104:	48 83 f8 66          	cmp    $0x66,%rax
  600108:	7f 05                	jg     60010f <hex_digit.next2>
  60010a:	48 83 e8 57          	sub    $0x57,%rax
  60010e:	c3                   	retq   

000000000060010f <hex_digit.next2>:
  60010f:	48 83 f8 41          	cmp    $0x41,%rax
  600113:	7c 0b                	jl     600120 <die>
  600115:	48 83 f8 46          	cmp    $0x46,%rax
  600119:	7f 05                	jg     600120 <die>
  60011b:	48 83 e8 37          	sub    $0x37,%rax
  60011f:	c3                   	retq   

0000000000600120 <die>:
  600120:	48 c7 c0 3c 00 00 00 	mov    $0x3c,%rax
  600127:	48 c7 c7 01 00 00 00 	mov    $0x1,%rdi
  60012e:	0f 05                	syscall 

0000000000600130 <getchar>:
  600130:	48 c7 c0 00 00 00 00 	mov    $0x0,%rax
  600137:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi
  60013e:	48 8d 35 4a 00 00 00 	lea    0x4a(%rip),%rsi        # 60018f <buf>
  600145:	48 c7 c2 01 00 00 00 	mov    $0x1,%rdx
  60014c:	0f 05                	syscall 
  60014e:	48 83 f8 01          	cmp    $0x1,%rax
  600152:	75 0e                	jne    600162 <getchar.getchar_fail>
  600154:	48 c7 c0 00 00 00 00 	mov    $0x0,%rax
  60015b:	8a 05 2e 00 00 00    	mov    0x2e(%rip),%al        # 60018f <buf>
  600161:	c3                   	retq   

0000000000600162 <getchar.getchar_fail>:
  600162:	48 c7 c0 ff ff ff ff 	mov    $0xffffffffffffffff,%rax
  600169:	c3                   	retq   

000000000060016a <putchar>:
  60016a:	88 05 1f 00 00 00    	mov    %al,0x1f(%rip)        # 60018f <buf>
  600170:	48 c7 c0 01 00 00 00 	mov    $0x1,%rax
  600177:	48 c7 c7 01 00 00 00 	mov    $0x1,%rdi
  60017e:	48 8d 35 0a 00 00 00 	lea    0xa(%rip),%rsi        # 60018f <buf>
  600185:	48 c7 c2 01 00 00 00 	mov    $0x1,%rdx
  60018c:	0f 05                	syscall 
  60018e:	c3                   	retq   

000000000060018f <buf>:
	...

0000000000600197 <oct>:
	...

Disassembly of section .debug_aranges:

0000000000000000 <.debug_aranges>:
   0:	2c 00                	sub    $0x0,%al
   2:	00 00                	add    %al,(%rax)
   4:	02 00                	add    (%rax),%al
   6:	00 00                	add    %al,(%rax)
   8:	00 00                	add    %al,(%rax)
   a:	08 00                	or     %al,(%rax)
   c:	00 00                	add    %al,(%rax)
   e:	00 00                	add    %al,(%rax)
  10:	80 00 40             	addb   $0x40,(%rax)
	...

Disassembly of section .debug_info:

0000000000000000 <.debug_info>:
   0:	5b                   	pop    %rbx
   1:	00 00                	add    %al,(%rax)
   3:	00 02                	add    %al,(%rdx)
   5:	00 00                	add    %al,(%rax)
   7:	00 00                	add    %al,(%rax)
   9:	00 08                	add    %cl,(%rax)
   b:	01 00                	add    %eax,(%rax)
   d:	00 00                	add    %al,(%rax)
   f:	00 80 00 40 00 00    	add    %al,0x4000(%rax)
  15:	00 00                	add    %al,(%rax)
  17:	00 80 00 40 00 00    	add    %al,0x4000(%rax)
  1d:	00 00                	add    %al,(%rax)
  1f:	00 68 65             	add    %ch,0x65(%rax)
  22:	78 30                	js     54 <_start-0x600024>
  24:	2e 61                	cs (bad) 
  26:	73 6d                	jae    95 <_start-0x5fffe3>
  28:	00 2f                	add    %ch,(%rdi)
  2a:	68 6f 6d 65 2f       	pushq  $0x2f656d6f
  2f:	69 76 79 2f 43 6f 64 	imul   $0x646f432f,0x79(%rsi),%esi
  36:	65 2f                	gs (bad) 
  38:	67 75 69             	addr32 jne a4 <_start-0x5fffd4>
  3b:	78 2d                	js     6a <_start-0x60000e>
  3d:	62                   	(bad)  
  3e:	6f                   	outsl  %ds:(%rsi),(%dx)
  3f:	6f                   	outsl  %ds:(%rsi),(%dx)
  40:	74 73                	je     b5 <_start-0x5fffc3>
  42:	74 72                	je     b6 <_start-0x5fffc2>
  44:	61                   	(bad)  
  45:	70 2f                	jo     76 <_start-0x600002>
  47:	68 65 78 38 36       	pushq  $0x36387865
  4c:	2f                   	(bad)  
  4d:	61                   	(bad)  
  4e:	73 6d                	jae    bd <_start-0x5fffbb>
  50:	2f                   	(bad)  
  51:	00 79 61             	add    %bh,0x61(%rcx)
  54:	73 6d                	jae    c3 <_start-0x5fffb5>
  56:	20 31                	and    %dh,(%rcx)
  58:	2e 33 2e             	xor    %cs:(%rsi),%ebp
  5b:	30 00                	xor    %al,(%rax)
  5d:	01                   	.byte 0x1
  5e:	80                   	.byte 0x80

Disassembly of section .debug_abbrev:

0000000000000000 <.debug_abbrev>:
   0:	01 11                	add    %edx,(%rcx)
   2:	00 10                	add    %dl,(%rax)
   4:	06                   	(bad)  
   5:	11 01                	adc    %eax,(%rcx)
   7:	12 01                	adc    (%rcx),%al
   9:	03 08                	add    (%rax),%ecx
   b:	1b 08                	sbb    (%rax),%ecx
   d:	25 08 13 05 00       	and    $0x51308,%eax
	...

Disassembly of section .debug_line:

0000000000000000 <.debug_line>:
   0:	28 00                	sub    %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	02 00                	add    (%rax),%al
   6:	1f                   	(bad)  
   7:	00 00                	add    %al,(%rax)
   9:	00 01                	add    %al,(%rcx)
   b:	01 fb                	add    %edi,%ebx
   d:	0e                   	(bad)  
   e:	0d 00 01 01 01       	or     $0x1010100,%eax
  13:	01 00                	add    %eax,(%rax)
  15:	00 00                	add    %al,(%rax)
  17:	01 00                	add    %eax,(%rax)
  19:	00 01                	add    %al,(%rcx)
  1b:	00 68 65             	add    %ch,0x65(%rax)
  1e:	78 30                	js     50 <_start-0x600028>
  20:	2e 61                	cs (bad) 
  22:	73 6d                	jae    91 <_start-0x5fffe7>
  24:	00 00                	add    %al,(%rax)
  26:	00 00                	add    %al,(%rax)
  28:	00 00                	add    %al,(%rax)
  2a:	01 01                	add    %eax,(%rcx)
